home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
datatypes
/
png_dt
/
install-png
< prev
next >
Wrap
Text File
|
1996-04-07
|
1KB
|
46 lines
; $VER: InstallPNG 1.0
; Cloanto PNG DataType Installer Script
; Copyright © Cloanto Italia srl 1995
; Cloanto is a registered trademark of Cloanto Italia srl
; "Installer and Installer project icon Copyright © 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
; Reproduced and distributed under license from Commodore"
; New installer icon design Copyright © 1994 Cloanto Italia srl
(if (< (/ (getversion "icon.library" (resident)) 65536) 39) (message "\nDataTypes require Amiga OS 3.0 or higher."))
(if (AND (>= (+ (database "cpu")) 68020) (= (exists "Classes/DataTypes/png.datatype.020") 1))
(set png_datatype "png.datatype.020")
(set png_datatype "png.datatype")
)
(working "Installing PNG DataType")
(if (<> (exists "SYS:Classes") 2) (makedir "SYS:Classes" (infos)) )
(copyfiles
(prompt "Copying Format Descriptors")
(help @copyfiles-help)
(source "Devs/DataTypes")
(dest "DEVS:DataTypes")
(all)
(infos)
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying PNG DataType")
(help @copylib-help)
(source (tackon "Classes/DataTypes" png_datatype))
(dest "SYS:Classes/DataTypes")
(newname "png.datatype")
(optional "nofail" "force")
(confirm)
)
(run "C:AddDataTypes QUIET REFRESH")
(message "\nInstallation complete.\n\nDouble-click on \"Test.png\" to test.")
(exit (quiet))